package com.lonwin.inspectionmanagement.mvp.ui.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.lonwin.inspectionmanagement.R;
import com.lonwin.inspectionmanagement.mvp.model.entity.bean.HhkqLhAliasBean;

import java.util.List;

public class HomepopuwindowAdaptert extends BaseQuickAdapter<HhkqLhAliasBean.DataBean,BaseViewHolder> {
    public HomepopuwindowAdaptert(@Nullable List<HhkqLhAliasBean.DataBean> data) {
        super(R.layout.home_popuwind_view_item,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HhkqLhAliasBean.DataBean item) {
       helper.setText(R.id.home_popuwind_item_name,item.getAlias()).setText(R.id.home_popuwind_modifyUserName,item.getModifyUserName())
               .setText(R.id.home_popuwind_time,item.getModifytm());
    }
}
